<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>时间对象</title>
	<script type="text/javascript">
		var objDate = new Date('1986-11-24');

		var nowDate = new Date();


		document.write((nowDate.getTime()/1000-objDate.getTime()/1000)/86400);
		// document.write(objDate.getDay());

	</script>
</head>
<body>
	
</body>
</html>